package com.company.controller;

import com.company.dao.Userdao;
import com.company.dao.impl.Userdaoimpl;
import com.company.entity.User;

import java.sql.SQLException;
import java.util.List;

public class Usercontroller {
    public static void main(String[] args) throws SQLException {
        Userdao userdao = new Userdaoimpl();
       List list = userdao.findall();
        System.out.println(list);
    }
}
